﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core
{
    /// <summary>
    /// Variables in this dic (CurrentDir and SelectedItems) are retained during the script running.
    /// </summary>
    public class ScriptParameterDic : ParameterDic
    {
        protected ScriptParameterDic(ParameterDic pd)
        {
            LoadParameterDic(pd);
        }

        public static ScriptParameterDic FromParameterDic(ParameterDic pd)
        {
            return new ScriptParameterDic(pd);
        }

        public ICofeDirectoryInfo CurrentDir { get; set; }
        public List<ICofeSystemInfo> SelectedEntries { get; set; }
    }

}
